package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/18 17:40
 */
@Data
@ApiModel(value = "CgnciBusinessProjectNestCopyDTO")
public class CgnciBusinessProjectNextCopyDTO {

    @ApiModelProperty("项目类型(1-新建项目,2-复制项目),码表值:projectType")
    @NotBlank(message = "项目类型不能为空")
    private String projectType;

    @ApiModelProperty("复制项目的项目id(project_type =2必填) ")
    @NotNull(message = "复制项目的项目id")
    private Long originalProjectId;

}
